package com.efivestar.idm.api.util.weixin.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

public class OAuth2AccessToken implements Serializable{

    private static final long serialVersionUID = 1L;

    @JSONField(name="access_token")
    private String accessToken;
    @JSONField(name="expires_in")
    private int expiresIn;
    @JSONField(name="refresh_token")
    private String refreshToken;
    private String openid;
    private String scope;

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public int getExpiresIn() {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn) {
        this.expiresIn = expiresIn;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
